package com.ygqh.baby.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.LogisticsTraces;
import com.ygqh.baby.po.LogisticsTracesExample;

public interface LogisticsTracesMapper {
	int countByExample(LogisticsTracesExample example);

	int deleteByExample(LogisticsTracesExample example);

	int deleteByPrimaryKey(Long id);

	int insert(LogisticsTraces record);

	int insertSelective(LogisticsTraces record);

	List<LogisticsTraces> selectByExample(LogisticsTracesExample example);

	LogisticsTraces selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") LogisticsTraces record, @Param("example") LogisticsTracesExample example);

	int updateByExample(@Param("record") LogisticsTraces record, @Param("example") LogisticsTracesExample example);

	int updateByPrimaryKeySelective(LogisticsTraces record);

	int updateByPrimaryKey(LogisticsTraces record);

	int countSuper(@Param("q") String q);

	List<LogisticsTraces> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	int addBatch(@Param("list") List<LogisticsTraces> list);

}
